package com.suneee.refund.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.GeneratedValue;
import com.suneee.orm.annotation.Id;
import com.suneee.orm.annotation.Table;
import com.suneee.orm.annotation.Transient;
import com.suneee.shop.entity.Shop;
import com.suneee.trades.entity.TradesOrder;

@Entity
@Table(name = "t_refund_apply")
public class RefundApply implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8736965196936612793L;

	@Id
	@GeneratedValue
	@Column(name="refund_id",nullable=false)
	private String refundId; 
	
	@Column(name="tid")
	private String tid;
	
	@Column(name="shipping_type")
	private String shippingType;
	
	@Column(name="cs_status")
	private String csStatus;
	
	@Column(name="advance_status")
	private String advanceStatus;
	
	@Column(name="split_taobao_fee")
	private Float splitTaobaoFee;
	
	@Column(name="split_seller_fee")
	private Float splitSellerFee;
	
	@Column(name="oid")
	private String oid;
	
	@Column(name="alipay_no")
	private String alipayNo;
	
	@Column(name="total_fee")
	private Float totalFee;
	
	@Column(name="buyer_nick")
	private String buyerNick;
	
	@Column(name="created")
	private Timestamp created;
	
	@Column(name="modified")
	private Timestamp modified;
	
	@Column(name="order_status")
	private String orderStatus;
	
	@Column(name="status")
	private String status;
	
	@Column(name="has_good_return")
	private Boolean hasGoodReturn;
	
	@Column(name="refund_fee")
	private Float refundFee;
	
	@Column(name="payment")
	private Float payment;
	
	@Column(name="reason")
	private String reason;
	
	@Column(name="description")
	private String description;
	
	@Column(name="title")
	private String title;
	
	@Column(name="price")
	private Float price;
	
	@Column(name="goods_num")
	private Integer goodsNum;
	
	@Column(name="good_return_time")
	private Timestamp goodReturnTime;
	
	@Column(name="company_name")
	private String companyName;
	
	@Column(name="sid")
	private String sid;
	
	@Column(name="address")
	private String address;
	
	@Column(name="num_iid")
	private String numIid;
	
	@Column(name="refund_phase")
	private String refundPhase;
	
	@Column(name="refund_version")
	private String refundVersion;
	
	@Column(name="sku_str")
	private String skuStr;
	
	@Column(name="attribute")
	private String attribute;
	
	@Column(name="outer_id")
	private String outerId;
	
	@Column(name="operation_contraint")
	private String operationContraint;
	
	@Column(name="created_at")
	private Timestamp createdAt;
	
	@Column(name="updated_at")
	private Timestamp updatedAt;
	
	@Column(name="opt_remark")
	private String optRemark;
	
	@Column(name="is_notice_buyer")
	private Integer isNoticeBuyer;
	
	@Column(name="process_status")
	private String processStatus;
	
	@Column(name="feedback_status")
	private String feedbackStatus;
	
	@Column(name="after_sale_type")
	private String afterSaleType;
	
	@Column(name="value_bear_type")
	private String valueBearType;
	
	@Column(name="post_bear_type")
	private String postBearType;
	
	@Column(name="full_address")
	private String fullAddress;
	
	@Column(name="seller_name")
	private String sellerName;
	
	@Column(name="seller_post")
	private String sellerPost;
	
	@Column(name="seller_tel")
	private String sellerTel;
	
	@Column(name="seller_phone")
	private String sellerPhone;
	
	@Column(name="area_code")
	private String areaCode;
	
	@Column(name="seller_remark")
	private String sellerRemark;
	
	@Column(name="end_remark")
	private String endRemark;
	
	@Column(name="opt_user_id")
	private String optUserId;
	
	@Column(name="change_sku_code")
	private String changeSkuCode;
	
	@Column(name="change_sku_name")
	private String changeSkuName;
	
	@Column(name="refund_nums")
	private Integer refundNums;
	
	@Column(name="refund_reason")
	private String refundReason;
	
	@Column(name="package_code")
	private String packageCode;
	
	@Column(name="logistics_company")
	private String logisticsCompany;
	
	@Column(name="send_time")
	private Timestamp sendTime;
	
	@Column(name="is_notice_refund")
	private String isNoticeRefund;
	
	@Column(name="refund_result")
	private String refundResult;
	
	@Column(name="cw_refuse_reason")
	private String cwRefuseReason;
	
	@Column(name="cw_refuse_remark")
	private String cwRefuseRemark;
	
	@Column(name="cw_remark")
	private String cwRemark;
	
	@Column(name="feedback_time")
	private Timestamp feedbackTime;
	
	@Column(name="cw_refuse_proof")
	private String cwRefuseProof;
	
	@Column(name="is_notice_stock")
	private String isNoticeStock;
	
	@Column(name="shopp_id")
	private Integer shoppId;
	
	@Column(name="good_status")
	private String goodStatus;
	
	@Transient
	private Long addressId;
	
	@Transient
	private String ordGoodStatus;
	
	/**
	 * 退款申请留言和凭证
	 */
	@Transient
	private RefundComment refundComment;
	
	/**
	 * 仓库验货单
	 */
	@Transient
	private RefundCheckInfo checkInfo;
	
	/**
	 * 仓库验货单号
	 */
	@Transient
	private Integer checkId;
	
	@Transient
	private String enterpriseCode;
	
	@Transient
	private List<Object> feedBackList;
	
	@Transient
	private TradesOrder tradesOrder;
	
	@Transient
	private String msgCode;
	
	@Transient
	private Shop shop;
	
	@Transient
	private Integer outerSkuId;
	
	@Transient
	private Integer orderId;
	
	@Transient
	private Integer num;

	public String getRefundId() {
		return refundId;
	}

	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}

	public String getTid() {
		return tid;
	}

	public void setTid(String tid) {
		this.tid = tid;
	}

	public String getShippingType() {
		return shippingType;
	}

	public void setShippingType(String shippingType) {
		this.shippingType = shippingType;
	}

	public String getCsStatus() {
		return csStatus;
	}

	public void setCsStatus(String csStatus) {
		this.csStatus = csStatus;
	}

	public String getAdvanceStatus() {
		return advanceStatus;
	}

	public void setAdvanceStatus(String advanceStatus) {
		this.advanceStatus = advanceStatus;
	}

	public Float getSplitTaobaoFee() {
		return splitTaobaoFee;
	}

	public void setSplitTaobaoFee(Float splitTaobaoFee) {
		this.splitTaobaoFee = splitTaobaoFee;
	}

	public Float getSplitSellerFee() {
		return splitSellerFee;
	}

	public void setSplitSellerFee(Float splitSellerFee) {
		this.splitSellerFee = splitSellerFee;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public String getAlipayNo() {
		return alipayNo;
	}

	public void setAlipayNo(String alipayNo) {
		this.alipayNo = alipayNo;
	}

	public Float getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(Float totalFee) {
		this.totalFee = totalFee;
	}

	public String getBuyerNick() {
		return buyerNick;
	}

	public void setBuyerNick(String buyerNick) {
		this.buyerNick = buyerNick;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public Timestamp getModified() {
		return modified;
	}

	public void setModified(Timestamp modified) {
		this.modified = modified;
	}

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Boolean getHasGoodReturn() {
		return hasGoodReturn;
	}

	public void setHasGoodReturn(Boolean hasGoodReturn) {
		this.hasGoodReturn = hasGoodReturn;
	}

	public Float getRefundFee() {
		return refundFee;
	}

	public void setRefundFee(Float refundFee) {
		this.refundFee = refundFee;
	}

	public Float getPayment() {
		return payment;
	}

	public void setPayment(Float payment) {
		this.payment = payment;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Integer getGoodsNum() {
		return goodsNum;
	}

	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}

	public Timestamp getGoodReturnTime() {
		return goodReturnTime;
	}

	public void setGoodReturnTime(Timestamp goodReturnTime) {
		this.goodReturnTime = goodReturnTime;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getNumIid() {
		return numIid;
	}

	public void setNumIid(String numIid) {
		this.numIid = numIid;
	}

	public String getRefundPhase() {
		return refundPhase;
	}

	public void setRefundPhase(String refundPhase) {
		this.refundPhase = refundPhase;
	}

	public String getRefundVersion() {
		return refundVersion;
	}

	public void setRefundVersion(String refundVersion) {
		this.refundVersion = refundVersion;
	}

	public String getSkuStr() {
		return skuStr;
	}

	public void setSkuStr(String skuStr) {
		this.skuStr = skuStr;
	}

	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	public String getOuterId() {
		return outerId;
	}

	public void setOuterId(String outerId) {
		this.outerId = outerId;
	}

	public String getOperationContraint() {
		return operationContraint;
	}

	public void setOperationContraint(String operationContraint) {
		this.operationContraint = operationContraint;
	}

	public Timestamp getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Timestamp createdAt) {
		this.createdAt = createdAt;
	}

	public Timestamp getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(Timestamp updatedAt) {
		this.updatedAt = updatedAt;
	}

	public String getOptRemark() {
		return optRemark;
	}

	public void setOptRemark(String optRemark) {
		this.optRemark = optRemark;
	}

	public Integer getIsNoticeBuyer() {
		return isNoticeBuyer;
	}

	public void setIsNoticeBuyer(Integer isNoticeBuyer) {
		this.isNoticeBuyer = isNoticeBuyer;
	}

	public String getProcessStatus() {
		return processStatus;
	}

	public void setProcessStatus(String processStatus) {
		this.processStatus = processStatus;
	}

	public String getFeedbackStatus() {
		return feedbackStatus;
	}

	public void setFeedbackStatus(String feedbackStatus) {
		this.feedbackStatus = feedbackStatus;
	}

	public String getAfterSaleType() {
		return afterSaleType;
	}

	public void setAfterSaleType(String afterSaleType) {
		this.afterSaleType = afterSaleType;
	}

	public String getValueBearType() {
		return valueBearType;
	}

	public void setValueBearType(String valueBearType) {
		this.valueBearType = valueBearType;
	}

	public String getPostBearType() {
		return postBearType;
	}

	public void setPostBearType(String postBearType) {
		this.postBearType = postBearType;
	}

	public String getFullAddress() {
		return fullAddress;
	}

	public void setFullAddress(String fullAddress) {
		this.fullAddress = fullAddress;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public String getSellerPost() {
		return sellerPost;
	}

	public void setSellerPost(String sellerPost) {
		this.sellerPost = sellerPost;
	}

	public String getSellerTel() {
		return sellerTel;
	}

	public void setSellerTel(String sellerTel) {
		this.sellerTel = sellerTel;
	}

	public String getSellerPhone() {
		return sellerPhone;
	}

	public void setSellerPhone(String sellerPhone) {
		this.sellerPhone = sellerPhone;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getSellerRemark() {
		return sellerRemark;
	}

	public void setSellerRemark(String sellerRemark) {
		this.sellerRemark = sellerRemark;
	}

	public String getEndRemark() {
		return endRemark;
	}

	public void setEndRemark(String endRemark) {
		this.endRemark = endRemark;
	}

	public String getOptUserId() {
		return optUserId;
	}

	public void setOptUserId(String optUserId) {
		this.optUserId = optUserId;
	}

	public String getChangeSkuCode() {
		return changeSkuCode;
	}

	public void setChangeSkuCode(String changeSkuCode) {
		this.changeSkuCode = changeSkuCode;
	}

	public String getChangeSkuName() {
		return changeSkuName;
	}

	public void setChangeSkuName(String changeSkuName) {
		this.changeSkuName = changeSkuName;
	}

	public Integer getRefundNums() {
		return refundNums;
	}

	public void setRefundNums(Integer refundNums) {
		this.refundNums = refundNums;
	}

	public String getRefundReason() {
		return refundReason;
	}

	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason;
	}

	public String getPackageCode() {
		return packageCode;
	}

	public void setPackageCode(String packageCode) {
		this.packageCode = packageCode;
	}

	public String getLogisticsCompany() {
		return logisticsCompany;
	}

	public void setLogisticsCompany(String logisticsCompany) {
		this.logisticsCompany = logisticsCompany;
	}

	public Timestamp getSendTime() {
		return sendTime;
	}

	public void setSendTime(Timestamp sendTime) {
		this.sendTime = sendTime;
	}

	public String getIsNoticeRefund() {
		return isNoticeRefund;
	}

	public void setIsNoticeRefund(String isNoticeRefund) {
		this.isNoticeRefund = isNoticeRefund;
	}

	public String getRefundResult() {
		return refundResult;
	}

	public void setRefundResult(String refundResult) {
		this.refundResult = refundResult;
	}

	public String getCwRefuseReason() {
		return cwRefuseReason;
	}

	public void setCwRefuseReason(String cwRefuseReason) {
		this.cwRefuseReason = cwRefuseReason;
	}

	public String getCwRefuseRemark() {
		return cwRefuseRemark;
	}

	public void setCwRefuseRemark(String cwRefuseRemark) {
		this.cwRefuseRemark = cwRefuseRemark;
	}

	public String getCwRemark() {
		return cwRemark;
	}

	public void setCwRemark(String cwRemark) {
		this.cwRemark = cwRemark;
	}

	public RefundComment getRefundComment() {
		return refundComment;
	}

	public void setRefundComment(RefundComment refundComment) {
		this.refundComment = refundComment;
	}

	public RefundCheckInfo getCheckInfo() {
		return checkInfo;
	}

	public void setCheckInfo(RefundCheckInfo checkInfo) {
		this.checkInfo = checkInfo;
	}

	public Integer getCheckId() {
		return checkId;
	}

	public void setCheckId(Integer checkId) {
		this.checkId = checkId;
	}

	public Timestamp getFeedbackTime() {
		return feedbackTime;
	}

	public void setFeedbackTime(Timestamp feedbackTime) {
		this.feedbackTime = feedbackTime;
	}

	public String getCwRefuseProof() {
		return cwRefuseProof;
	}

	public void setCwRefuseProof(String cwRefuseProof) {
		this.cwRefuseProof = cwRefuseProof;
	}

	public String getEnterpriseCode() {
		return enterpriseCode;
	}

	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}

	public List<Object> getFeedBackList() {
		return feedBackList;
	}

	public void setFeedBackList(List<Object> feedBackList) {
		this.feedBackList = feedBackList;
	}

	public TradesOrder getTradesOrder() {
		return tradesOrder;
	}

	public void setTradesOrder(TradesOrder tradesOrder) {
		this.tradesOrder = tradesOrder;
	}

	public String getIsNoticeStock() {
		return isNoticeStock;
	}

	public void setIsNoticeStock(String isNoticeStock) {
		this.isNoticeStock = isNoticeStock;
	}

	public String getMsgCode() {
		return msgCode;
	}

	public void setMsgCode(String msgCode) {
		this.msgCode = msgCode;
	}

	public Integer getShoppId() {
		return shoppId;
	}

	public void setShoppId(Integer shoppId) {
		this.shoppId = shoppId;
	}

	public Shop getShop() {
		return shop;
	}

	public void setShop(Shop shop) {
		this.shop = shop;
	}

	public String getGoodStatus() {
		return goodStatus;
	}

	public void setGoodStatus(String goodStatus) {
		this.goodStatus = goodStatus;
	}

	public Integer getOuterSkuId() {
		return outerSkuId;
	}

	public void setOuterSkuId(Integer outerSkuId) {
		this.outerSkuId = outerSkuId;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Long getAddressId() {
		return addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

	public String getOrdGoodStatus() {
		return ordGoodStatus;
	}

	public void setOrdGoodStatus(String ordGoodStatus) {
		this.ordGoodStatus = ordGoodStatus;
	}
}
